<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@taglib prefix="wr" uri="http://prova.it/mytaglib"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Prova</title>
</head>
<body>
<%
  // declare or construct your variable...
  String[] array = new String[]{"a", "b", "c"};
  // set the variable in the page context under the variable name "title"
  pageContext.setAttribute("array", array);
%>

<f:view>
	<wr:array var="${array}" />
	<!--
	<wr:substring end="5" input="ciao ciao" start="2"></wr:substring>
	-->
</f:view>
</body>
</html>